<?php $this->_extends('_layouts/alarmtable_layout'); ?>

<?php $this->_block('title'); ?> - 系统日志<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

<div id="getting-started" alt="状态日志">
	<?php $this->_element('datesearch_simple',array('form'=>$form)); ?>
	<table>
		<tr><th>编号</th><th>时间</th><th>日志内容</th></tr>
		<?php foreach ($group as $s): ?>
		<tr><td><?php echo $s->id;?></td><td><?php echo $s->datetime;?></td><td><?php echo iconv("gb2312//TRANSLIT","utf-8",$s->log);?></td></tr>
		<?php endforeach; ?>
		<tr>
      <td colspan="3" align="center"><center><input id="startd" type="hidden" value="<?php echo $startd;?>"><input id="endd" type="hidden" value="<?php echo $endd;?>">
       共有 <font color="Red"><?php echo $pager['record_count'];?></font> 条记录,分为 <font color="Red"><?php echo $pager['page_count'];?></font> 页显示,当前第 <font color="Red"><?php echo $pager['current'];?></font>页,每页 <font color="Red"><?php echo $pager['page_size'];?></font> 条<?php echo $pagestr; ?></center>
		</td>
		</tr>
	</table>
</div>

<?php $this->_endblock('contents'); ?>
